#ifndef TIMER_WIDGET_H
#define TIMER_WIDGET_H

#include <QWidget>
#include <QLabel>

class TimerWidget : public QWidget
{
	Q_OBJECT
public:
	QLabel * L1;
	QLabel * L2;
public:
	explicit TimerWidget(QWidget *parent = nullptr);

private:
	int id1=0;
	int id2=0;

private slots:
	void start();
	void stop();
	void reset();

protected:
	void timerEvent(QTimerEvent *event);
};

#endif // TIMER_WIDGET_H
